package com.leo.manage_system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.leo.manage_system.entity.Res;
import com.baomidou.mybatisplus.extension.service.IService;
import com.leo.manage_system.entity.vo.ResQueryVo;
import com.leo.manage_system.entity.vo.ResVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 物品表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-11-01
 */
public interface ResService extends IService<Res> {

    boolean addRes(String user_id,int type,Res res);

    ResVo getRes(String strResId);

    List<Res> getResList();

//    void getResPageQuery(Page<Res> pageParam, ResQuery query);
    public Map<String,Object> getResPageQuery(Page<Res> pageParam, ResQueryVo query);
}
